import Vue from "vue";
import Vuex from "vuex";
import getters from "./getters";
import user from "./modules/user";
import common from "./modules/common";
import tagsView from "./modules/tagsView";
import logs from "./modules/logs";
import task from "./modules/task";
import permission from "./modules/permission";
import menu from "./modules/menu";
import routes from "./modules/routes";
import app from "./modules/app";
import settings from "./modules/settings";
import nav from "./modules/nav";
Vue.use(Vuex);
const store = new Vuex.Store({
  modules: {
    user,
    common,
    logs,
    tagsView,
    task,
    permission,
    menu,
    routes,
    app,
    settings,
    nav
  },
  getters
});

export default store;
